
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看个人信息</title>
<!-- jquery -->
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" href="../css/bootstrap.min.css">
<script src="../js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
	$(function(){
		$.ajax({
			url:'../showSelfInfo',
			dataType:'json',
			type:'post',
			success:function(re){
				$("span[name='uidcard']").text(re.uidcard);
				$("span[name='uname']").text(re.uname);
				$("span[name='usex']").text(re.usex);
				$("span[name='uage']").text(re.uage);
				$("span[name='utelphone']").text(re.utelphone);
			}
		})
	})
</script>
<style type="text/css">
	.infoContainer{
		width:500px;
		height:40px;
		margin:0 auto;
		color:gray;
		font-size:16px;
	}
	.txt{
		color:black;
	}
</style>
</head>
<body>
<div class="container">
	<div class="row">
		<h3 class="text-info" style="text-align:center;">个人信息</h3>
	</div><br/><br/>
	<div class="row">
		<div class="infoContainer">
			<span class="txt">员工号：</span>
			<span name="uidcard"></span>
		</div>
		<div class="infoContainer">
			<span class="txt">姓名：</span>
			<span name="uname"></span>
		</div>
		<div class="infoContainer">
			<span class="txt">性别：</span>
			<span name="usex"></span>
		</div>
		<div class="infoContainer">
			<span class="txt">年龄：</span>
			<span name="uage"></span>
		</div>
		<div class="infoContainer">
			<span class="txt">联系方式：</span>
			<span name="utelphone"></span>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<a href="updateself.jsp" style="margin-left:700px;font-size:20px;" btn btn-primary btn-lg btn-block>修改个人信息</a>
		</div>
	</div> 

</body>
</html>